//
//  ZMTool.h
//  ZMClient
//
//  Created by 我的苹果 on 16/1/27.
//  Copyright © 2016年 alan. All rights reserved.
//
#import <Foundation/Foundation.h>

@interface ZMTool : NSObject
//时间戳转换
+ (NSString *)getDateTimeString:(NSString *)timeStampStr DateFormat:(NSString *)format;
+(BOOL)validateTel:(NSString *)tel;//手机验证
+(CGFloat)getLabelHeight:(NSString *)string font:(UIFont *)font width:(CGFloat)width;//自适应高度

+(void)showAlertWithDifferentVersioninWhichViewController:(UIViewController *)vc  withTitle:(NSString *)title andMessage:(NSString *)message andSureTitle:(NSString *)sureTitle andCancleTitle:(NSString *)cancleTitle isDelegate:(BOOL)isDelegate andSureBlock:(void(^)(UIAlertAction *  action))sureBlock andCancleBlock:(void(^)(UIAlertAction * action))cancleBlock;//警告框
+(void)showActionSheetWithDifferentVersioninWhichViewController:(id)vc  withTitle:(NSString *)title andMessage:(NSString *)message andSureTitleOne:(NSString *)sureTitleOne andSureTitleTwo:(NSString *)sureTitleTwo andSureTitleThree:(NSString *)SureTitleThree andCancleTitle:(NSString *)cancleTitle isDelegate:(BOOL)isDelegate andSureBlockOne:(void(^)(UIAlertAction *  action))sureBlockOne andSureBlockTwo:(void(^)(UIAlertAction *  action))sureBlockTwo andSureBlockThree:(void(^)(UIAlertAction *  action))SureBlockThree andCancleBlock:(void(^)(UIAlertAction * action))cancleBlock;//操作表
+(BOOL)isEmptyStrWithString:(NSString *)str;
@end
